package org.xg.study.pd.mediator;

import java.util.List;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName SqlSession
 * @date 2021/9/16 16:54
 **/
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statement, Object parameter);

    void close();
}